home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
x11
/
networke
/
xfirepow.000
/
xfirepow
/
xfirepower-0.84
/
client
/
proto.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-06-02
|
2KB
|
87 lines
/* main.c */
void print_usage(void);
char *getLogin(void);
int main(int argc, char **argv);
/* data.c */
/* images.c */
int cmpfilenames(const void *left, const void *right);
void loadImageByFilename(char *filename);
void loadAllImages(void);
/* sintab.c */
void inittrigtables(void);
/* socket.c */
void callServer(int port, char *server);
int packetLength(char *buf);
void handle_map(char *buf);
void handle_personal(char *buf);
void handle_positions(char *buf);
void handle_playerinfo(char *buf);
void handle_login(char *buf);
void handle_shell(char *buf);
void handle_message(char *buf);
void handle_playerdata(char *buf);
void handle_playerstats(char *buf);
void handle_shellinfo(char *buf);
void handle_mapsquare(char *buf);
void handle_flag(char *buf);
void handle_UdpReply(char *buf);
void handle_motdline(char *buf);
void handle_teamok(char *buf);
void handle_mine(char *buf);
void handle_ping(char *buf);
void doServer(void);
void doRead(int asock);
int read_map(void);
void sendPacket(char *buf);
void sendLogin(char *name, char *login);
void sendSteering(int keys);
void sendShell(void);
void sendMessage(char *msg, int to);
void sendCourse(int course);
void sendSpeed(int speed);
void sendTeam(int team);
void sendMine(void);
void sendBuild(int terrain);
void sendPing(void);
int closeUdpConn(void);
void sendUdpRequest(int req);
/* message.c */
void start_message(void);
void end_message(void);
void print_message(char *msg, int from, int to);
void redraw_message_win(void);
/* playerwin.c */
void playerwin_line(int l);
void redraw_player_win(void);
void check_playerwin_updates(void);
/* motd.c */
void add_motd_line(int line, char *text);
void display_motd(void);
void motd_key(int key);
/* redraw.c */
void draw_local(int x, int y);
void draw_overlays(int x, int y);
void draw_players(int cx, int cy);
void draw_shells(int cx, int cy);
void draw_shell_exps(int cx, int cy);
void draw_flags(int cx, int cy);
void draw_mines(int cx, int cy);
void draw_build_marker(int cx, int cy);
void map_square(int x, int y);
void update_map(void);
void redraw_map(void);
void init_terrain(void);
void do_redraw(void);
/* input.c */
void do_input(void);
/* outfit.c */
void redraw_teamwins(void);
void do_outfit(void);
/* dash.c */
void do_dash(int re);
/* option.c */
void redraw_option_line(int i);
void redraw_option_win(void);
void map_option_win(void);
void check_variable(int *var);